﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ShowSectionChangeInfo.aspx.cs" Inherits="leaderManager_ShowSectionChangeInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>

         <link rel="Stylesheet" type="text/css" href="../Styles/right_style.css" />
     <script type="text/javascript" src="../Scripts/jquery.ui/js/jquery.js"></script>

    <style type="text/css">
<!--
html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
-->
</style>

</head>
<body>
    <form id="form1" runat="server">
            <div class="sub_right_top">
  <div class="hdm_header" >
    <div class="tb1_on"><h2 class="h2_icon">岗位变动查询</h2></div>

    <div class="clear"></div>
  </div>
  <div class="hdm_footer">
    <div style="height:17px;"></div>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
          BackColor="White" BorderColor="#77ACD0" HorizontalAlign="Center" CellPadding="3"
                        GridLines="Horizontal" AllowPaging="True" 
          OnPageIndexChanging="GridView1_PageIndexChanging" EmptyDataText="目前没有任何岗位变动信息！" 
          Width="99%">
                        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                        <Columns>
                            <asp:TemplateField HeaderText="变动人员">
                                <ItemTemplate>
                                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("ChangeUser.UserName") %>'></asp:Label>
                                </ItemTemplate>
                                <HeaderStyle CssClass="itemhead" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="原部门">
                                <ItemTemplate>
                                    <asp:Label ID="Label2" runat="server" Text='<%# Eval("OldSection.SectionName") %>'></asp:Label>
                                </ItemTemplate>
                                <HeaderStyle CssClass="itemhead" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="现部门">
                                <ItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%# Eval("NewSection.SectionName") %>'></asp:Label>
                                </ItemTemplate>
                                <HeaderStyle CssClass="itemhead" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="原职位">
                                <ItemTemplate>
                                    <asp:Label ID="Label4" runat="server" Text='<%# Eval("OldJob.JobName") %>'></asp:Label>
                                </ItemTemplate>
                                <HeaderStyle CssClass="itemhead" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="现职位">
                                <ItemTemplate>
                                    <asp:Label ID="Label5" runat="server" Text='<%# Eval("NewJob.JobName") %>'></asp:Label>
                                </ItemTemplate>
                                <HeaderStyle CssClass="itemhead" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="OldWage" HeaderText="原工资" SortExpression="OldWage" >
                                <HeaderStyle CssClass="itemhead" />
                            </asp:BoundField>
                            <asp:BoundField DataField="NewWage" HeaderText="现工资" SortExpression="NewWage" >
                                <HeaderStyle CssClass="itemhead" />
                            </asp:BoundField>
                            <asp:BoundField DataField="ChangeCause" HeaderText="变动原因" SortExpression="ChangeCause" >
                                <HeaderStyle CssClass="itemhead" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="变动时间">
                                <ItemTemplate>
                                    <asp:Label ID="Label6" runat="server" Text='<%# Convert.ToDateTime(Eval("SectionChangeTime")).ToShortDateString() %>'></asp:Label>
                                </ItemTemplate>
                                <HeaderStyle CssClass="itemhead" />
                            </asp:TemplateField>
                        </Columns>
                        <RowStyle BackColor="Transparent" ForeColor="Black" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                                    <PagerStyle BackColor="#E4F1FD" ForeColor="#1E5494" HorizontalAlign="Right" />
                                    <HeaderStyle BackColor="#E4F1FD" ForeColor="#1E5494" BorderColor="#77ACD0" HorizontalAlign="Center"/>
                                    <AlternatingRowStyle BackColor="#E4F1FD" />
                    </asp:GridView>
    </div>
    </div>
    </form>
</body>
</html>
